# -*- coding: utf-8 -*- 
#
# Description:
#
#  Definiton
#
#
#
# Changes:
#
# 2012-01-10
# Initial Commit
#
#
# Copyright 2010-2012, WyDev Team.
# Author: Polo35 (polo35580@hotmail.fr)
#
# Licenced under Academic Free License version 3.0
# Review WyGui README & LICENSE files for further details.

nname: 648
n 648(None)[return None
]:
	i: 633(), 647()
	o: 

nname: 647
n 647(None)[]:
	i: 621(f)
	o: 648()

nname: 633
n 633(None)[pygui_globs['psp_path'] = None
]:
	i: 621(t)
	o: 648()

nname: 621
n 621('transcode' in plugins)[]:
	i: 593(), 620()
	o: 633(t), 647(f)

nname: 620
n 620(None)[]:
	i: 581(f)
	o: 621()

nname: 593
n 593(None)[from pygui.facilities.plugin.banzai import BanzaiPlugin
BanzaiPlugin()
]:
	i: 581(t)
	o: 621()

nname: 581
n 581('banzai' in plugins)[]:
	i: 570(AE)
	o: 593(t), 620(f)

nname: 570
n 570(None)[pygui_globs['screensaver'] = saver
]:
	i: 406(finally), 566()
	o: 581(AE)

nname: 566
n 566(None)[]:
	i: 510(), 533(), 565(AE)
	o: 570()

nname: 533
n 533(None)[saver = None
log.error('Failed to load screensaver!')
PRINT_EXCEPTION()
]:
	i: 409(except)
	o: 566()

nname: 510
n 510(None)[saver = screensaver_dict[type](threshold=threshold)
]:
	i: 476(), 489(), 509(AE)
	o: 566()

nname: 489
n 489(None)[threshold = user_config['power']['screensaver_threshold']
]:
	i: 412(except)
	o: 510()

nname: 476
n 476(None)[threshold = config.screensaver_threshold
]:
	i: 412(try)
	o: 510()

nname: 412
n 412(None)[from pygui.menu.menu.screensaver import screensaver_dict
from pygui.config import user_config
type = user_config['power']['screensaver_type']
import pygui.config as config
]:
	i: 409(try)
	o: 476(try), 489(except)

nname: 409
n 409(None)[]:
	i: 406(ASF)
	o: 412(try), 533(except)

nname: 406
n 406(None)[]:
	i: 352(), 379(), 405(AE)
	o: 409(ASF2), 570(finally)

nname: 379
n 379(None)[log.error('Failed to load audio mixer!')
PRINT_EXCEPTION()
]:
	i: 349(except)
	o: 406()

nname: 352
n 352(None)[from pygui.facilities.mixer import Mix
Mix()
]:
	i: 349(try)
	o: 406()

nname: 349
n 349(None)[]:
	i: 295(), 322(), 348(AE)
	o: 352(try), 379(except)

nname: 322
n 322(None)[PRINT_EXCEPTION()
log.error('Failed to load update!')
]:
	i: 292(except)
	o: 349()

nname: 295
n 295(None)[from pygui.facilities.update import UpdateManager
UpdateManager()
]:
	i: 292(try)
	o: 349()

nname: 292
n 292(None)[]:
	i: 249(), 265(), 291(AE)
	o: 295(try), 322(except)

nname: 265
n 265(None)[PRINT_EXCEPTION()
log.error('Failed to load players!')
]:
	i: 246(except)
	o: 292()

nname: 249
n 249(None)[import pygui.menu.players
]:
	i: 246(try)
	o: 292()

nname: 246
n 246(None)[]:
	i: 235(AE)
	o: 249(try), 265(except)

nname: 235
n 235(None)[pygui_globs['videomodes'] = vm
]:
	i: 163(finally), 231()
	o: 246(AE)

nname: 231
n 231(None)[]:
	i: 169(), 198(), 230(AE)
	o: 235()

nname: 198
n 198(None)[vm = None
PRINT_EXCEPTION()
log.error('Failed to load videomodes!')
]:
	i: 166(except)
	o: 231()

nname: 169
n 169(None)[from pygui.facilities.videomodes import VideoModes
vm = VideoModes()
]:
	i: 166(try)
	o: 231()

nname: 166
n 166(None)[]:
	i: 163(ASF)
	o: 169(try), 198(except)

nname: 163
n 163(None)[]:
	i: 107(), 136(), 162(AE)
	o: 166(ASF2), 235(finally)

nname: 136
n 136(None)[PRINT_EXCEPTION()
log.error('Failed to load input!')
]:
	i: 104(except)
	o: 163()

nname: 107
n 107(None)[import pygui.input as input
input.init()
]:
	i: 104(try)
	o: 163()

nname: 104
n 104(None)[]:
	i: 50(), 77(), 103(AE)
	o: 107(try), 136(except)

nname: 77
n 77(None)[PRINT_EXCEPTION()
log.error('Failed to load wymedia!')
]:
	i: 47(except)
	o: 104()

nname: 50
n 50(None)[from pygui.item.mediaitem.core import RootItem
RootItem()
]:
	i: 47(try)
	o: 104()

nname: 47
n 47(None)[]:
	i: 6(), 20()
	o: 50(try), 77(except)

nname: 20
n 20(None)[from peewee.dbus import peewee_dbus
pygui_globs['wydbus'] = peewee_dbus
]:
	i: 0(f)
	o: 47()

nname: 6
n 6(None)[pygui_globs['wydbus'] = None
]:
	i: 0(t)
	o: 47()

nname: 0
n 0(no_DBUS)[]:
	i: 
	o: 6(t), 20(f)

nname: 648
n 648(None)[return None
]:
	i: 581()
	o: 

nname: 581
n 581(None)[if 'banzai' in plugins:
	from pygui.facilities.plugin.banzai import BanzaiPlugin
	BanzaiPlugin()
if 'transcode' in plugins:
	pygui_globs['psp_path'] = None
]:
	i: 570(AE)
	o: 648()

nname: 570
n 570(None)[pygui_globs['screensaver'] = saver
]:
	i: 379(finally), 510(), 533()
	o: 581(AE)

nname: 533
n 533(None)[except:
	saver = None
	log.error('Failed to load screensaver!')
	PRINT_EXCEPTION()
]:
	i: 409()
	o: 570()

nname: 510
n 510(None)[saver = screensaver_dict[type](threshold=threshold)
]:
	i: 476()
	o: 570()

nname: 476
n 476(None)[try:
	threshold = config.screensaver_threshold
except:
	threshold = user_config['power']['screensaver_threshold']
]:
	i: 409(try)
	o: 510()

nname: 409
n 409(None)[try:
	from pygui.menu.menu.screensaver import screensaver_dict
	from pygui.config import user_config
	type = user_config['power']['screensaver_type']
	import pygui.config as config
]:
	i: 379(ASF2)
	o: 476(try), 533()

nname: 379
n 379(None)[except:
	log.error('Failed to load audio mixer!')
	PRINT_EXCEPTION()
]:
	i: 349()
	o: 409(ASF2), 570(finally)

nname: 349
n 349(None)[try:
	from pygui.facilities.mixer import Mix
	Mix()
]:
	i: 295()
	o: 379()

nname: 295
n 295(None)[try:
	from pygui.facilities.update import UpdateManager
	UpdateManager()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load update!')
]:
	i: 265(try)
	o: 349()

nname: 265
n 265(None)[except:
	PRINT_EXCEPTION()
	log.error('Failed to load players!')
]:
	i: 246()
	o: 295(try)

nname: 246
n 246(None)[try:
	import pygui.menu.players
]:
	i: 235(AE)
	o: 265()

nname: 235
n 235(None)[pygui_globs['videomodes'] = vm
]:
	i: 136(finally), 198()
	o: 246(AE)

nname: 198
n 198(None)[except:
	vm = None
	PRINT_EXCEPTION()
	log.error('Failed to load videomodes!')
]:
	i: 166()
	o: 235()

nname: 166
n 166(None)[try:
	from pygui.facilities.videomodes import VideoModes
	vm = VideoModes()
]:
	i: 136(ASF2)
	o: 198()

nname: 136
n 136(None)[except:
	PRINT_EXCEPTION()
	log.error('Failed to load input!')
]:
	i: 104()
	o: 166(ASF2), 235(finally)

nname: 104
n 104(None)[try:
	import pygui.input as input
	input.init()
]:
	i: 50()
	o: 136()

nname: 50
n 50(None)[try:
	from pygui.item.mediaitem.core import RootItem
	RootItem()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load wymedia!')
]:
	i: 0(try)
	o: 104()

nname: 0
n 0(None)[if no_DBUS:
	pygui_globs['wydbus'] = None
else:
	from peewee.dbus import peewee_dbus
	pygui_globs['wydbus'] = peewee_dbus
]:
	i: 
	o: 50(try)

nname: 581
n 581(None)[if 'banzai' in plugins:
	from pygui.facilities.plugin.banzai import BanzaiPlugin
	BanzaiPlugin()
if 'transcode' in plugins:
	pygui_globs['psp_path'] = None
return None
]:
	i: 570(AE)
	o: 

nname: 570
n 570(None)[pygui_globs['screensaver'] = saver
]:
	i: 379(finally), 476(), 533()
	o: 581(AE)

nname: 533
n 533(None)[except:
	saver = None
	log.error('Failed to load screensaver!')
	PRINT_EXCEPTION()
]:
	i: 409()
	o: 570()

nname: 476
n 476(None)[try:
	threshold = config.screensaver_threshold
except:
	threshold = user_config['power']['screensaver_threshold']
saver = screensaver_dict[type](threshold=threshold)
]:
	i: 409(try)
	o: 570()

nname: 409
n 409(None)[try:
	from pygui.menu.menu.screensaver import screensaver_dict
	from pygui.config import user_config
	type = user_config['power']['screensaver_type']
	import pygui.config as config
]:
	i: 379(ASF2)
	o: 476(try), 533()

nname: 379
n 379(None)[except:
	log.error('Failed to load audio mixer!')
	PRINT_EXCEPTION()
]:
	i: 295()
	o: 409(ASF2), 570(finally)

nname: 295
n 295(None)[try:
	from pygui.facilities.update import UpdateManager
	UpdateManager()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load update!')
try:
	from pygui.facilities.mixer import Mix
	Mix()
]:
	i: 246(try)
	o: 379()

nname: 246
n 246(None)[try:
	import pygui.menu.players
except:
	PRINT_EXCEPTION()
	log.error('Failed to load players!')
]:
	i: 235(AE)
	o: 295(try)

nname: 235
n 235(None)[pygui_globs['videomodes'] = vm
]:
	i: 104(finally), 166()
	o: 246(AE)

nname: 166
n 166(None)[try:
	from pygui.facilities.videomodes import VideoModes
	vm = VideoModes()
except:
	vm = None
	PRINT_EXCEPTION()
	log.error('Failed to load videomodes!')
]:
	i: 104(ASF2)
	o: 235()

nname: 104
n 104(None)[try:
	import pygui.input as input
	input.init()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load input!')
]:
	i: 0()
	o: 166(ASF2), 235(finally)

nname: 0
n 0(None)[if no_DBUS:
	pygui_globs['wydbus'] = None
else:
	from peewee.dbus import peewee_dbus
	pygui_globs['wydbus'] = peewee_dbus
try:
	from pygui.item.mediaitem.core import RootItem
	RootItem()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load wymedia!')
]:
	i: 
	o: 104()

nname: 581
n 581(None)[if 'banzai' in plugins:
	from pygui.facilities.plugin.banzai import BanzaiPlugin
	BanzaiPlugin()
if 'transcode' in plugins:
	pygui_globs['psp_path'] = None
return None
]:
	i: 570(AE)
	o: 

nname: 570
n 570(None)[pygui_globs['screensaver'] = saver
]:
	i: 379(finally), 476(), 533()
	o: 581(AE)

nname: 533
n 533(None)[except:
	saver = None
	log.error('Failed to load screensaver!')
	PRINT_EXCEPTION()
]:
	i: 409()
	o: 570()

nname: 476
n 476(None)[try:
	threshold = config.screensaver_threshold
except:
	threshold = user_config['power']['screensaver_threshold']
saver = screensaver_dict[type](threshold=threshold)
]:
	i: 409(try)
	o: 570()

nname: 409
n 409(None)[try:
	from pygui.menu.menu.screensaver import screensaver_dict
	from pygui.config import user_config
	type = user_config['power']['screensaver_type']
	import pygui.config as config
]:
	i: 379(ASF2)
	o: 476(try), 533()

nname: 379
n 379(None)[except:
	log.error('Failed to load audio mixer!')
	PRINT_EXCEPTION()
]:
	i: 246()
	o: 409(ASF2), 570(finally)

nname: 246
n 246(None)[try:
	import pygui.menu.players
except:
	PRINT_EXCEPTION()
	log.error('Failed to load players!')
try:
	from pygui.facilities.update import UpdateManager
	UpdateManager()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load update!')
try:
	from pygui.facilities.mixer import Mix
	Mix()
]:
	i: 235(AE)
	o: 379()

nname: 235
n 235(None)[pygui_globs['videomodes'] = vm
]:
	i: 0(finally), 166()
	o: 246(AE)

nname: 166
n 166(None)[try:
	from pygui.facilities.videomodes import VideoModes
	vm = VideoModes()
except:
	vm = None
	PRINT_EXCEPTION()
	log.error('Failed to load videomodes!')
]:
	i: 0(ASF2)
	o: 235()

nname: 0
n 0(None)[if no_DBUS:
	pygui_globs['wydbus'] = None
else:
	from peewee.dbus import peewee_dbus
	pygui_globs['wydbus'] = peewee_dbus
try:
	from pygui.item.mediaitem.core import RootItem
	RootItem()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load wymedia!')
try:
	import pygui.input as input
	input.init()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load input!')
]:
	i: 
	o: 166(ASF2), 235(finally)

nname: 581
n 581(None)[if 'banzai' in plugins:
	from pygui.facilities.plugin.banzai import BanzaiPlugin
	BanzaiPlugin()
if 'transcode' in plugins:
	pygui_globs['psp_path'] = None
return None
]:
	i: 570(AE)
	o: 

nname: 570
n 570(None)[pygui_globs['screensaver'] = saver
]:
	i: 246(finally), 476(), 533()
	o: 581(AE)

nname: 533
n 533(None)[except:
	saver = None
	log.error('Failed to load screensaver!')
	PRINT_EXCEPTION()
]:
	i: 409()
	o: 570()

nname: 476
n 476(None)[try:
	threshold = config.screensaver_threshold
except:
	threshold = user_config['power']['screensaver_threshold']
saver = screensaver_dict[type](threshold=threshold)
]:
	i: 409(try)
	o: 570()

nname: 409
n 409(None)[try:
	from pygui.menu.menu.screensaver import screensaver_dict
	from pygui.config import user_config
	type = user_config['power']['screensaver_type']
	import pygui.config as config
]:
	i: 246(ASF2)
	o: 476(try), 533()

nname: 246
n 246(None)[try:
	import pygui.menu.players
except:
	PRINT_EXCEPTION()
	log.error('Failed to load players!')
try:
	from pygui.facilities.update import UpdateManager
	UpdateManager()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load update!')
try:
	from pygui.facilities.mixer import Mix
	Mix()
except:
	log.error('Failed to load audio mixer!')
	PRINT_EXCEPTION()
]:
	i: 235(AE)
	o: 409(ASF2), 570(finally)

nname: 235
n 235(None)[pygui_globs['videomodes'] = vm
]:
	i: 0(finally), 166()
	o: 246(AE)

nname: 166
n 166(None)[try:
	from pygui.facilities.videomodes import VideoModes
	vm = VideoModes()
except:
	vm = None
	PRINT_EXCEPTION()
	log.error('Failed to load videomodes!')
]:
	i: 0(ASF2)
	o: 235()

nname: 0
n 0(None)[if no_DBUS:
	pygui_globs['wydbus'] = None
else:
	from peewee.dbus import peewee_dbus
	pygui_globs['wydbus'] = peewee_dbus
try:
	from pygui.item.mediaitem.core import RootItem
	RootItem()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load wymedia!')
try:
	import pygui.input as input
	input.init()
except:
	PRINT_EXCEPTION()
	log.error('Failed to load input!')
]:
	i: 
	o: 166(ASF2), 235(finally)

self.nodes: {0: <unpyclib.structure.node instance at 0xb75b47ac>, 476: <unpyclib.structure.node instance at 0xb75b46ec>, 235: <unpyclib.structure.node instance at 0xb75a27ec>, 409: <unpyclib.structure.node instance at 0xb75b4eac>, 166: <unpyclib.structure.node instance at 0xb75b4b4c>, 570: <unpyclib.structure.node instance at 0xb75b456c>, 581: <unpyclib.structure.node instance at 0xb75b4dac>, 246: <unpyclib.structure.node instance at 0xb75b4ccc>, 533: <unpyclib.structure.node instance at 0xb75b728c>}
nname: 0
n 0(None)[from __future__ import absolute_import
from pygui.shared import pygui_globs
from peewee.debug import log, PRINT_EXCEPTION
from pygui.config import plugins, no_DBUS
def init_startup():
	if no_DBUS:
		pygui_globs['wydbus'] = None
	else:
		from peewee.dbus import peewee_dbus
		pygui_globs['wydbus'] = peewee_dbus
	try:
		from pygui.item.mediaitem.core import RootItem
		RootItem()
	except:
		PRINT_EXCEPTION()
		log.error('Failed to load wymedia!')
	try:
		import pygui.input as input
		input.init()
	except:
		PRINT_EXCEPTION()
		log.error('Failed to load input!')

]:
	i: 
	o: 

self.nodes: {0: <unpyclib.structure.node instance at 0xb7591e4c>}
from __future__ import absolute_import
from pygui.shared import pygui_globs
from peewee.debug import log, PRINT_EXCEPTION
from pygui.config import plugins, no_DBUS
def init_startup():
	if no_DBUS:
		pygui_globs['wydbus'] = None
	else:
		from peewee.dbus import peewee_dbus
		pygui_globs['wydbus'] = peewee_dbus
	try:
		from pygui.item.mediaitem.core import RootItem
		RootItem()
	except:
		PRINT_EXCEPTION()
		log.error('Failed to load wymedia!')
	try:
		import pygui.input as input
		input.init()
	except:
		PRINT_EXCEPTION()
		log.error('Failed to load input!')

